import axios from "../../utils/axios";

// /repertory/getMycompanyList 获取我的公司列表
export function getMycompanyList(query) {
    return axios({
        url: "/goldendays-promote/companyManager/getMycompanyList",
        method: "get",
        params: query
    });
}
export function getCompanyPosition(query) {
    return axios({
        url: "/goldendays-promote/cooperativeBrand/getCompanyPosition",
        method: "get",
        params: query
    });
}

// 公司管理=公司列表数据获取
export function getCompanyData(query) {
    return axios({
        url: "",
        method: "post",
        data: query
    })
}
// 公司管理-公司详情数据获取
export function getCompanyDetail(query) {
    return axios({
        url: "",
        method: "post",
        data: query
    })
}

// 组建公司意愿管理-列表数据获取
export function getCreateCompanyList(query) {
    return axios({
        url: "/goldendays-promote/companyManager/getCreateCompanyWishPage",
        method: "post",
        params: query
    })
}

// 组建公司意愿管理-组建新公司同意
export function createCompanyConfirm(query) {
    return axios({
        url: "/goldendays-promote/companyManager/createNewCompany",
        method: "post",
        params: query
    })
}

